package OOday03;

public class InterfaceDemo {
    public static void main(String[] args) {
        //inter o=new inter();
    }
}
interface inter{
    abstract void show();
    void test();
    //void say(){}//抽象方法不能有方法体
}
class InterImpl implements inter{
    public void show(){
    }
    public void test(){
    }
}

interface inter1{
    void show();
}
interface inter2{
    void test();
}
abstract class Aoo{
    abstract void say();
}
class Boo extends Aoo implements inter1,inter2{
    public void show(){}
    public void test(){}
    void say(){}
}

interface inter3{
    void show();
}
interface inter4{
    void test();
}
interface inter5 extends inter4,inter3{
    void say();
}
class Coo implements inter5{
    public void show(){}
    public void test(){}
    public void say(){}
}